/**************************
* @Summary
* @Author 20009200303 赵传博
* @Date 6/15/2022
* @Note
*****************************/

#ifndef REVIEW_CLOCK_H
#define REVIEW_CLOCK_H

#include <iostream>
using std::ostream;

class Clock {
private:
    int hour;
    int minute;
    int second;
public:
    Clock(int = 0, int = 0, int = 0);
    void get(int&, int&, int*);
    bool adjust(int, int, int);
    bool isValid(int, int, int);
    void update();
    friend ostream& operator<<(ostream & os, Clock & c);
};


#endif //REVIEW_CLOCK_H
